import request from '@/utils/request'

export function getVolunteerList(data){
    return request({
        url:'/volunteerlist',
        method:'get',
        params:data
    });
}

export function editVolunteer(data){
    return request({
       url:'/editvolunteer',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getVolunteerInfo(data){
    return request({
       url:'/volunteerinfo',
       method:'get',
       params:data
    });
}

export function delVolunteer(data){
   return request({
      url:'/delvolunteer',
      method:'get',
      params:data
   });
}

export function getVolunteerSignList(data){
   return request({
      url:'/volunteersignlist',
      method:'get',
      params:data
   });
}
